package com.njtoyo.taxi.admin.mapper.master.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.njtoyo.taxi.admin.mapper.master.enums.DriverAuditInfoType;
import com.njtoyo.taxi.admin.mapper.master.enums.DriverRegistrationInfoSate;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 司机注册信息表
 * </p>
 *
 * @author Dell
 * @since 2022-04-07
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "DriverAuditInfo对象", description = "司机注册信息表")
public class DriverAuditInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "司机id")
    private Long driverId;

    @ApiModelProperty(value = "司机手机号")
    private String mobileNumber;

    @ApiModelProperty(value = "司机姓名")
    private String name;

    @ApiModelProperty(value = "运营区ID")
    private Long driverRegionId;

    @ApiModelProperty(value = "公司id")
    private Long companyId;

    @ApiModelProperty(value = "车牌号")
    private String plateNumber;

    @ApiModelProperty(value = "设备号")
    private String deviceId;

    @ApiModelProperty(value = "服务卡号")
    private String serviceNumber;

    @ApiModelProperty(value = "身份证号")
    private String identityNumber;

    @ApiModelProperty(value = "身份证人像面图片")
    private String identityPortraitUrl;

    @ApiModelProperty(value = "身份证国徽面图片")
    private String identityNationalEnblemUrl;

    @ApiModelProperty(value = "驾驶证号码")
    private String driverLicenceNumber;

    @ApiModelProperty(value = "驾驶证信息页图片")
    private String driverLicenceInfoUrl;

    @ApiModelProperty(value = "驾驶证附页图片")
    private String driverLicenceSupplementUrl;

    @ApiModelProperty(value = "行驶证号")
    private String vehicleLicenceNumber;

    @ApiModelProperty(value = "行驶证信息页图片")
    private String vehicleLicenceInfoUrl;

    @ApiModelProperty(value = "行驶证附页图片")
    private String vehicleLicenceSupplementUrl;

    @ApiModelProperty(value = "行驶证强制报废期(时间戳)")
    private Integer vehicleLicenceExpiringTimestamp;

    @ApiModelProperty(value = "从业资格证")
    private String qualificationCertificateNumber;

    @ApiModelProperty(value = "从业资格证图片")
    private String qualificationCertificateUrl;

    @ApiModelProperty(value = "从业资格证有效期(时间戳)")
    private Integer qualificationCertificateExpiringTimestamp;

    @ApiModelProperty(value = "人车合影")
    private String driverTaxiGroupPhotoUrl;

    @ApiModelProperty(value = "审核状态 0:[审核中],1:[通过],2:[驳回],3:[拒绝],4:[废除]")
    private DriverRegistrationInfoSate state;

    @ApiModelProperty(value = "驳回原因")
    private String rejectReason;

    @ApiModelProperty(value = "车辆发动机号")
    private String engineNumber;

    @ApiModelProperty(value = "道路运输证")
    private String roadTransportNumber;

    @ApiModelProperty(value = "道路运输证照片")
    private String roadTransportCertificateUrl;

    @ApiModelProperty(value = "服务监督卡照片")
    private String supervisionServiceCardUrl;

    @ApiModelProperty(value = "状态类型(0:注册，1:行驶证更新，2:从业资格证更新)")
    private DriverAuditInfoType type;

    @ApiModelProperty(value = "创建时间")
    private Date createdAt;

    @ApiModelProperty(value = "修改时间")
    private Date updatedAt;


}
